package com.itheima.health.service;
import com.itheima.health.pojo.entity.Number;
import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import com.itheima.health.pojo.vo.SetmealReportVO;
public interface ReportService {


    Number getBusinessData(LocalDateTime beginToday, LocalDateTime endToday, LocalDate beginWeek, LocalDate endWeek, LocalDate beginMonth, LocalDate endMonth);

    void export(HttpServletResponse response);


    /**
     * 套餐预约占⽐
     *
     * @return
     */
    List<Map<String, Objects>> countBySetmeal();

    /**
     * 根据月份统计用户数量
     *
     * @param months
     * @return
     */
    List<Integer> countByMonth(List<String> months);

    SetmealReportVO getSetmealReport();


}
